// 已填写/未填写
const filledPage = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/filled-unfilled/filled')
const unFilledPage = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/filled-unfilled/unfilled')
const controlledField = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/filled-unfilled/controlled-field')

// 自定义
const customPage = () => import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/custom/custom')
const customTimeWindow = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/custom/time-window')
const customAggregation = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/custom/aggregation')

// EC提示语
const ecPrompt = () => import(/* webpackChunkName: "usersmanage" */ '@/pages/system-config/ec-prompt')
// 💭日期时间
const futureDate = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/futureDate/index.vue')
const compareTheTimeWithTheTable = () =>
  import(
    /* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/compareTheTimeWithTheTable/index.vue'
  )
const crossTime = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/crossTime/index.vue')
const dateFormat = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/dateFormat/index.vue')
const earlierThanTheDateOfTheVisit = () =>
  import(
    /* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/earlierThanTheDateOfTheVisit/index.vue'
  )
const multipleTableTimeComparison = () =>
  import(
    /* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/multipleTableTimeComparison/index.vue'
  )
const multipleViewing = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/multipleViewing/index.vue')
const timeFormat = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/timeFormat/index.vue')
const timeWindow = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/dateAndTime/timeWindow/index.vue')
// 💭数值-字符数值
const embeddedList = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/characterValue/embeddedList/index.vue')
const formatCheck = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/characterValue/formatCheck/index.vue')
const numericComparison = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/characterValue/numericComparison/index.vue')
const scopeCheck = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/characterValue/scopeCheck/index.vue')
// 💭实验室正常值
const determineTheNature = () =>
  import(
    /* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/laboratoryNormalValue/determineTheNature/index.vue'
  )
const reminder = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/laboratoryNormalValue/reminder/index.vue')
const scope = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/laboratoryNormalValue/scope/index.vue')
// 💭重复-非重复
const notRepeatMultiple = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/repeatNotRepeat/notRepeatMultiple/index.vue')
const notRepeatCross = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/repeatNotRepeat/notRepeatCross/index.vue')
const repeatMultiple = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/repeatNotRepeat/repeatMultiple/index.vue')
const repeatOne = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/repeatNotRepeat/repeatOne/index.vue')
// 💭同表多条记录比较
const oneToManyList = () =>
  import(
    /* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/compareMultipleRecordsInTheSameTable/oneToManyList/index.vue'
  )
// 💭字符
const characterSize = () =>
  import(/* webpackChunkName: "usersmanage" */ '@/pages/verification-rule/character/characterSize/index.vue')

const routes = {
  filledPage: {
    path: 'verification-rule/filled-unfilled/filled',
    name: '已填写',
    component: filledPage,
  },
  unFilledPage: {
    path: 'verification-rule/filled-unfilled/unfilled',
    name: '未填写',
    component: unFilledPage,
  },
  controlledField: {
    path: 'verification-rule/filled-unfilled/controlled-field',
    name: '未填写（受控字段）',
    component: controlledField,
  },
  customPage: {
    path: 'verification-rule/custom/custom',
    name: '自定义',
    component: customPage,
  },
  customTimeWindow: {
    path: 'verification-rule/custom/time-window',
    name: '自定义时间窗',
    component: customTimeWindow,
  },
  customAggregation: {
    path: 'verification-rule/custom/aggregation',
    name: '自定义聚合功能',
    component: customAggregation,
  },

  ecPrompt: {
    path: 'system-config/ec-prompt',
    name: 'EC提示语',
    component: ecPrompt,
  },
  // 日期时间
  futureDate: {
    path: 'verification-rule/dateAndTime/futureDate',
    name: '未来日期',
    component: futureDate,
  },
  compareTheTimeWithTheTable: {
    path: 'verification-rule/dateAndTime/compareTheTimeWithTheTable',
    name: '同表时间比较',
    component: compareTheTimeWithTheTable,
  },
  crossTime: {
    path: 'verification-rule/dateAndTime/crossTime',
    name: '交叉时间',
    component: crossTime,
  },
  dateFormat: {
    path: 'verification-rule/dateAndTime/dateFormat',
    name: '日期格式',
    component: dateFormat,
  },
  earlierThanTheDateOfTheVisit: {
    path: 'verification-rule/dateAndTime/earlierThanTheDateOfTheVisit',
    name: '早于访视日期',
    component: earlierThanTheDateOfTheVisit,
  },
  multipleTableTimeComparison: {
    path: 'verification-rule/dateAndTime/multipleTableTimeComparison',
    name: '多表时间比较',
    component: multipleTableTimeComparison,
  },
  multipleViewing: {
    path: 'verification-rule/dateAndTime/multipleViewing',
    name: '多访视',
    component: multipleViewing,
  },
  timeFormat: {
    path: 'verification-rule/dateAndTime/timeFormat',
    name: '时间格式',
    component: timeFormat,
  },
  timeWindow: {
    path: 'verification-rule/dateAndTime/timeWindow',
    name: '时间窗',
    component: timeWindow,
  },
  // 数值-字符数值
  embeddedList: {
    path: 'verification-rule/characterValue/embeddedList',
    name: '数值比较（内嵌表）',
    component: embeddedList,
  },
  formatCheck: {
    path: 'verification-rule/characterValue/formatCheck',
    name: '格式核查',
    component: formatCheck,
  },
  numericComparison: {
    path: 'verification-rule/characterValue/numericComparison',
    name: '数值比较',
    component: numericComparison,
  },
  scopeCheck: {
    path: 'verification-rule/characterValue/scopeCheck',
    name: '范围核查',
    component: scopeCheck,
  },
  // 实验室正常值
  determineTheNature: {
    path: 'verification-rule/laboratoryNormalValue/determineTheNature/index.vue',
    name: '实验室正常值定性',
    component: determineTheNature,
  },
  reminder: {
    path: 'verification-rule/laboratoryNormalValue/reminder/index.vue',
    name: '实验室正常值提示',
    component: reminder,
  },
  scope: {
    path: 'verification-rule/laboratoryNormalValue/scope/index.vue',
    name: '实验室正常值范围',
    component: scope,
  },
  // 重复-非重复
  notRepeatMultiple: {
    path: 'verification-rule/repeatNotRepeat/notRepeatMultiple/index.vue',
    name: '非重复:一对多表或内嵌表',
    component: notRepeatMultiple,
  },
  notRepeatCross: {
    path: 'verification-rule/repeatNotRepeat/notRepeatCross/index.vue',
    name: '非重复:跨表',
    component: notRepeatCross,
  },
  repeatMultiple: {
    path: 'verification-rule/repeatNotRepeat/repeatMultiple/index.vue',
    name: '重复:一对多表或内嵌表',
    component: repeatMultiple,
  },
  repeatOne: {
    path: 'verification-rule/repeatNotRepeat/repeatOne/index.vue',
    name: '重复:单表',
    component: repeatOne,
  },
  // 同表多条记录比较
  oneToManyList: {
    path: 'verification-rule/oneToManyListoneToManyList/oneToManyList/index.vue',
    name: '一对多表',
    component: oneToManyList,
  },
  // 字符
  characterSize: {
    path: 'verification-rule/characterSize/characterSize/index.vue',
    name: '字符长度',
    component: characterSize,
  },
}
export default routes
